
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace CRM.Models
{
    [Table("ImportCommodity")]
    [Comment("主要进口商品参数")]
     public class ImportCommodity:BaseModel
    {
        
        /// <summary>
        /// 序号
        /// </summary>
        public string  Id { get; set; }
        
        /// <summary>
        /// 商品类别
        /// </summary>
        public string Commoditycategory { get; set; }
        
        /// <summary>
        /// 商品编码范围
        /// </summary>
        public string Commoditycoderange { get; set; }
        
        /// <summary>
        /// 计量单位
        /// </summary>
        public string Uom { get; set; }
        
        /// <summary>
        /// 数据来源
        /// </summary>
          [DefaultValue(1)]
        public int Datasources { get; set; }
        
        /// <summary>
        /// 新增时间
        /// </summary>
        public DateTime? Addtime { get; set; }=DateTime.Now;
        
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? Updatetime { get; set; }               
    }
}